var Mock = require('mockjs')
var data = Mock.mock({
  total: 3,
  error: 0,
  'data|1-3': [
    {
      "id|+1": 0,
      "msg": "充值成功",
      "read": false,
      "time": "2019-10-23T13:10:07.843Z"
    }
  ]
})

module.exports = async (ctx) => {
  ctx.body = data
}